package com.muyu.danmo.service;

import java.util.List;

import com.muyu.common.core.domain.Result;
import com.muyu.danmo.domain.DanmoMountFavorite;
import org.apache.ibatis.annotations.Param;

/**
 * 装裱收藏Service接口
 *
 * @author kunzong
 * @date 2024-12-05
 */
public interface IDanmoMountFavoriteService {
    /**
     * 查询装裱收藏
     *
     * @param id 装裱收藏主键
     * @return 装裱收藏
     */
    public DanmoMountFavorite selectDanmoMountFavoriteById(Long id);

    /**
     * 查询装裱收藏列表
     *
     * @param userId 用户ID
     * @return 装裱收藏集合
     */
    public List<DanmoMountFavorite> selectDanmoMountFavoriteList(Long userId);

    /**
     * 新增装裱收藏
     *
     * @param danmoMountFavorite 装裱收藏
     * @return 结果
     */

    /**
     * 修改装裱收藏
     *
     * @param danmoMountFavorite 装裱收藏
     * @return 结果
     */
    public int updateDanmoMountFavorite(DanmoMountFavorite danmoMountFavorite);

    /**
     * 批量删除装裱收藏
     *
     * @param ids 需要删除的装裱收藏主键集合
     * @return 结果
     */
    public Result deleteDanmoMountFavoriteByIds(Long userId, Long[] ids);

    /**
     * 删除装裱收藏信息
     *
     * @param id 装裱收藏主键
     * @return 结果
     */
    public int deleteDanmoMountFavoriteById(Long id);

    Result insertDanmoMountFavorite(Long id, Long userId);
}
